跳到主要内容

Logic App 17 - Modify Workflow and Abuse Storage Blob

Modify Workflow and Abuse Storage Blob

信息

Scenario

Sometimes the user whom we compromised can have permission to edit the workflow of the logic app. Abuse the permission of the user on the logic and read the flag from the blob.

Overview

What is logic app workflow?

A logic app workflow is a visual representation and implementation of a business process or integration scenario in Azure Logic Apps. It defines the steps, actions, and conditions that are executed in a specific sequence to automate a particular workflow.

Hint

  • make use of the blob connector action.

Impact

  • With appropriate permissions in the logic app we could manipulate the logic app to interact with other services and perform malicious activity.

Reference

题目给出了 UserCreds 信息,登陆查看所有资源

img

经过探测,当前账户没有操作 Blob Container 的权限

img

但是借助 Logic app 的权限,可以尝试获取 Blob Container 的数据

在 Logic app 中,进入 Edit 界面

img

在其中新增动作

img

选择 获取 Blob 内容

img

设置所要读取的数据

img

然后将获得的数据进行输出

img

查看触发器的 URL

img

别忘记点击 Save 按钮!!

对其进行请求,即可获得

img

Flags
Which storage blob logic app connector (ignore the version) did we use to fetch the flag? (Get blob content or Get Messages)
Get blob content
What is the flag value we obtain ?
assoqawv735aszrkqya735